func go.pact.im/x/goship/internal/vcs/gitvcs.runGit
17 uses
go.pact.im/x/goship/internal/vcs/gitvcs (current package)
repo.go#L68: out, err := runGit(ctx, prog, dir, "rev-parse", "--show-toplevel")
repo.go#L88: id, err := runGit(ctx, r.program, r.root, "rev-parse", "--verify", rev+"^{commit}")
repo.go#L96: if sym, err := runGit(ctx, r.program, r.root, "symbolic-ref", "-q", defaultRev); err == nil {
repo.go#L105: if _, err := runGit(ctx, r.program, r.root, "show-ref", "--verify", "--quiet", ref); err == nil {
repo.go#L115: out, err := runGit(ctx, r.program, r.root, "tag", "--list")
repo.go#L194: if _, err := runGit(ctx, r.program, r.root, "worktree", "add", "--detach", tmpDir, rev.ID); err != nil {
repo.go#L220: if _, err := runGit(ctx, r.program, r.root, args...); err != nil {
repo.go#L241: out, err := runGit(ctx, r.program, r.root, "config", "--type=bool", "tag.gpgSign")
repo.go#L283: func runGit(ctx context.Context, program, dir string, args ...string) (string, error) {
session.go#L40: out, err := runGit(ctx, s.repo.program, s.dir, "rev-parse", "HEAD")
session.go#L57: if _, err := runGit(ctx, s.repo.program, s.dir, addArgs...); err != nil {
session.go#L69: if _, err := runGit(ctx, s.repo.program, s.dir, commitArgs...); err != nil {
session.go#L98: if sym, err := runGit(ctx, s.repo.program, s.repo.root, "symbolic-ref", "-q", "HEAD"); err == nil {
session.go#L132: if _, err := runGit(ctx, s.repo.program, s.repo.root, "merge", "--ff-only", finalID); err != nil {
session.go#L144: if _, err := runGit(ctx, s.repo.program, s.repo.root, "tag", "-a", "-s", "-m", t.message, t.name, t.commitID); err != nil {
session.go#L163: ident, err := runGit(ctx, s.repo.program, s.repo.root, "var", "GIT_COMMITTER_IDENT")
session.go#L190: _, err := runGit(context.Background(), s.repo.program, s.repo.root, "worktree", "remove", "--force", s.dir)